<template>
  <view class="index">
    <view class="jtop">
      <view class="status_bar"><!-- 这里是状态栏 --></view>
      <!-- <view class="jtop_l" @tap="navigateBack"><image src="../../static/img/ic_back.png"></image></view> -->
      <view class="jtop_l" @tap="navigateBack">取消</view>
      <view class="jtop_c">编辑点工信息</view>
      <view class="jtop_r" :style="{ opacity: name ? '1' : '.6' }" @tap="jsave"
        >确定</view
      >
    </view>
    <view class="tophr"></view>

    <!-- <view class="addb">
			<view class="addb_1">
				2020年6月27日    星期一
			</view>
		</view> -->
    <view class="addb">
      <view class="addi2 ">
        <text>姓名</text>
        <input
          type="text"
          placeholder="请输入点工姓名(必填)"
          :value="name"
          @input="onKeyInputname"
          placeholder-style="color:#CCCCCC"
        />
      </view>

      <view class="addi2">
        <text>身份证号</text>
        <input
          type="text"
          placeholder="请输入点工身份证号码"
          :value="idCard"
          @input="onKeyInputidCard"
          placeholder-style="color:#CCCCCC"
        />
      </view>

      <view class="addi2 noborder">
        <text>工种</text>
        <input
          type="text"
          placeholder="请输入点工工种"
          :value="workType"
          @input="onKeyInputworkType"
          placeholder-style="color:#CCCCCC"
        />
      </view>
      <!-- <view class="addi2">
				<text>班长姓名</text>
				<input type="text" placeholder="请输入班长姓名" :value="leader" @input="onKeyInputleader" placeholder-style="color:#CCCCCC"/>
			</view> -->
    </view>

    <view class="addb ">
      <view class="addi2">
        <text>单价(元/天)</text>
        <input
          type="text"
          placeholder="请输入单价"
          :value="price"
          @input="onKeyInputprice"
          placeholder-style="color:#CCCCCC"
        />
      </view>
      <view class="addi2 noborder">
        <text>天数</text>
        <input
          type="text"
          placeholder="请输入天数"
          :value="amount"
          @input="onKeyInputamount"
          placeholder-style="color:#CCCCCC"
        />
      </view>
    </view>

    <view class="addb noborder">
      <view class="addi2">
        <text>应付金额(元)</text>
        <input
          type="text"
          placeholder=""
          disabled
          :value="yfj"
          placeholder-style="color:#CCCCCC"
        />
      </view>
      <!-- <view class="addi2 ">
        <text>已付金额(元)</text>
        <input
          type="text"
          placeholder="请输入已付金额"
          :value="payedAmount"
          @input="onKeyInputpayedAmount"
          placeholder-style="color:#CCCCCC"
        />
      </view> -->

      <!-- <e-picker-plus endRule="2040-12-31 24:59" class="addbi"  @confirm="confirm2" mode="YMDhm" v-if="payedAmount">
				<text class="addbil">支出时间</text>
				<image src="../../static/img/jt.png" @confirm="confirm2"></image>
				<text class="addbir"  @confirm="confirm2" >{{endDate}}</text>
			</e-picker-plus>

			<view class="addi2 noborder" v-if="payedAmount">
				<text>支付方式</text>
				<input type="text" placeholder="请输入支付方式" :value="payMethod" @input="onKeyInputpayMethod" placeholder-style="color:#CCCCCC"/>
			</view> -->
    </view>

    <view class="addi">
      <text>备注</text>
      <textarea
        auto-height="true"
        style="min-height: 150rpx;"
        maxlength="-1"
        placeholder-style="color:#CCCCCC"
        placeholder="请输入备注"
        :value="remark"
        @input="onKeyInputremark"
      />
    </view>

    <!-- <view class="addb">
			<view class="addi2">
				<text>上传支款收据</text>
				<view class="addi2_r">
					无
					<image src="../../static/img/jt.png"></image>
				</view>
			</view>
			<view class="addi2">
				<text>合同</text>
				<view class="addi2_r">
					无
					<image src="../../static/img/jt.png"></image>
				</view>
			</view>
		</view> -->

    <view class="addi">
      <text>合同</text>
      <view class="att">
        <view v-for="(item, index) in ttp" :key="item.id">
          <image class="at" :src="item" @longpress="logoTtime(index)"></image>
        </view>

        <image
          src="../../static/img/index/new/at.png"
          mode=""
          class="at"
          @tap="changetAvatar()"
        ></image>
      </view>
    </view>

    <!-- <view class="addi" v-if="payedAmount">
			<text>对应单据</text>
			<view class="att">
				<view  v-for="(item, index) in jimg" :key="item.id">
					<image class="at" :src="item" @longpress="logoTime(index)"></image>
				</view>
				
				<image src="../../static/img/index/new/at.png" mode="" class="at" @tap="changeAvatar()"></image>
			</view>
		</view>		 -->

    <!-- 弹出层 删除图片-->
    <view :class="[ashowpop2 ? 'tc' : 'tc hide']">
      <view class="jtop_bj"></view>
      <view class="tc_fbox">
        <view class="tc_fbox_bt2" @click="btTC_jdel">
          删除
        </view>
        <view class="tc_fbox_bt" @click="btTCC">
          取消
        </view>
      </view>
    </view>
  </view>
</template>

<script>
import request from '@/common/request.js';
import { mapState } from 'vuex';

export default {
  data() {
    return {
      repeat_click: true,
      jimg: [],
      ashowpop2: false,

      ttp: [],
      showTtC2: false,

      ashowpop: false,
      ashowpop_jrename: false,
      ashowpop_jdel: false,
      ashowpopT: false,
      bj: false,
      yd: false,
      id: '',
      amount: '',
      leader: '',
      payedAmount: '',
      price: '',
      remark: '',
      name: '',

      jtitle: '',
      yfj: '0.00',
      payee: '',
      endDate: '',
      idCard: '',
      workType: '',
    };
  },
  onLoad() {
    this.jtitle = uni.getStorageSync('temp_data').name;

    this.workType = uni.getStorageSync('temp_data').workType;
    (this.name = uni.getStorageSync('temp_data').name),
      (this.yfj =
        uni.getStorageSync('temp_data').amount *
        uni.getStorageSync('temp_data').price),
      (this.leader = uni.getStorageSync('temp_data').leader),
      (this.price = uni.getStorageSync('temp_data').price),
      (this.amount = uni.getStorageSync('temp_data').amount),
      (this.totalAmount = uni.getStorageSync('temp_data').totalAmount),
      (this.remark = uni.getStorageSync('temp_data').remark),
      (this.unit = uni.getStorageSync('temp_data').unit),
      (this.payedAmount = uni.getStorageSync('temp_data').payedAmount),
      (this.idCard = uni.getStorageSync('temp_data').idCard),
      (this.endDate = uni.getStorageSync('temp_data').payMethod);

    this.payee = uni.getStorageSync('temp_data').payee;

    if (uni.getStorageSync('temp_data').voucher) {
      this.jimg = uni.getStorageSync('temp_data').voucher.split(',');
      console.log('jimg:', this.jimg);
    }

    if (uni.getStorageSync('temp_data').contract) {
      this.ttp = uni.getStorageSync('temp_data').contract.split(',');
      console.log('jimg:', this.jimg);
    }
  },
  methods: {
    confirm2(e) {
      console.log(e);
      this.endDate = e.result;
    },

    //图片上传
    btTtC_jdel() {
      var ax = this.ttp;
      ax.splice(this.scdttp, 1);
      console.log('ax1111', ax);
      this.ttp = ax;
      console.log('ax222', this.ttp);
      this.showTtC2 = false;
    },

    btTtCC(e) {
      this.showTtC2 = !this.showTtC2;
    },

    logoTtime(e) {
      console.log(e);
      this.scdttp = e;
      this.showTtC2 = true;
    },

    changetAvatar() {
      var that = this;
      uni.chooseImage({
        count: 1, //默认9
        sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图，默认二者都有
        sourceType: ['camera', 'album'], //从相册选择、摄像头
        success: function(res) {
          console.log(JSON.stringify(res.tempFilePaths, res.tempFiles[0]));
          that.scttp(res.tempFilePaths, res.tempFiles[0]);
        },
      });
    },

    scttp(a, b) {
      console.log(a);
      var als = '';
      var tpbt = b.name;
      if (tpbt == undefined || tpbt == 'undefined') {
        tpbt = b.path;
      }
      var pos = tpbt.lastIndexOf('.');
      var suffix = tpbt.substring(pos);
      function random_string(len) {
        len = len || 32;
        var chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678';
        var maxPos = chars.length;
        var pwd = '';
        for (var i = 0; i < len; i++) {
          pwd += chars.charAt(Math.floor(Math.random() * maxPos));
        }
        return pwd;
      }
      var g_object_name = random_string(10) + suffix;

      // 获取信息
      request({
        url: '/biz/oss/policy',
        method: 'GET',

        success: res => {
          if (res.data.success == true) {
            als = res.data.data;
            request({
              filePath: a[0],
              oss: true,
              formData: {
                name: tpbt,
                key: als.dir + g_object_name,
                policy: als.policy,
                OSSAccessKeyId: als.accessid,
                signature: als.signature,
                callback: als.callback,
                success_action_status: '200',
              },

              success: res => {
                var cc = JSON.parse(res.data);
                console.log('上传图片', cc);
                if (cc.code == '00000') {
                  var dd = this.ttp;
                  dd.push(cc.data.url + '/' + als.dir + g_object_name);
                  this.ttp = dd;
                } else {
                  this.repeat_click = true;
                  uni.showToast({
                    title: cc.message,
                    icon: 'none',
                  });
                }
              },
            });
          }
        },
      });
    },
    //--图片上传

    onKeyInputworkType: function(event) {
      this.workType = event.detail.value;
    },
    onKeyInputidCard: function(event) {
      this.idCard = event.detail.value;
    },
    onKeyInputname: function(event) {
      this.name = event.detail.value;
    },
    onKeyInputamount: function(event) {
      this.amount = event.detail.value;
      if (this.price) {
        this.yfj = this.price * this.amount;
      }
    },
    onKeyInputleader: function(event) {
      this.leader = event.detail.value;
    },
    onKeyInputpayedAmount: function(event) {
      this.payedAmount = event.detail.value;
    },
    onKeyInputprice: function(event) {
      this.price = event.detail.value;
      if (this.amount) {
        this.yfj = this.price * this.amount;
      }
    },
    onKeyInputremark: function(event) {
      this.remark = event.detail.value;
    },

    onKeyInputpayMethod: function(event) {
      this.payMethod = event.detail.value;
    },

    // onKeyInputname: function(event) {
    // 	this.name=event.detail.value;
    // },
    // onKeyInputname: function(event) {
    // 	this.name=event.detail.value;
    // },

    jsave() {
      if (!this.repeat_click) {
        return;
      }
      this.repeat_click = false;

      if (!this.name) {
        this.repeat_click = true;
        uni.showToast({
          title: '请输入点工姓名',
          icon: 'none',
        });
        return;
      }

      var jd = {
        name: this.name,
        workType: this.workType,
        idCard: this.idCard,
        price: this.price,
        amount: this.amount,
        totalAmount: this.yfk,
        remark: this.remark,

        // payedAmount: this.payedAmount,
        payMethod: this.payMethod,
        payTime: this.endDate,
        // payee: this.payee,
        // completedQuantity: "1123",
        // workerId:1
      };

      if (this.jimg != '') {
        jd.voucher = this.jimg.toString();
      }

      if (this.ttp != '') {
        jd.contract = this.ttp.toString();
      }

      request({
        url: `/biz/day-laborer/${uni.getStorageSync('temp_data').id}`,
        data: jd,

        method: 'PUT',
        success: openIdRes => {
          console.log(openIdRes);
          if (openIdRes.data.success == true) {
            wx.showToast({
              title: '修改成功',
              icon: 'none',
              duration: 1000,
              success: function() {
                setTimeout(function() {
                  // uni.navigateBack()

                  uni.navigateTo({
                    url: '../main/close_index',
                  });
                }, 1500);
              },
            });

            // uni.navigateBack()
          } else {
            this.repeat_click = true;
            uni.showToast({
              title: openIdRes.data.msg,
              icon: 'none',
            });
            this.isLoading = false;
          }
        },
        fail: () => {
          this.repeat_click = true;
          uni.showToast({
            title: '服务器开小差，请稍后~',
            icon: 'none',
          });
          return false;
        },
      });
    },

    //图片上传
    btTC_jdel() {
      var ax = this.jimg;
      ax.splice(this.scdtp, 1);
      console.log('ax1111', ax);
      this.jimg = ax;
      console.log('ax222', this.jimg);
      this.ashowpop2 = false;
    },

    btTCC(e) {
      this.ashowpop2 = !this.ashowpop2;
    },

    logoTime(e) {
      console.log(e);
      this.scdtp = e;
      this.ashowpop2 = true;
    },

    changeAvatar() {
      var that = this;
      uni.chooseImage({
        count: 1, //默认9
        sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图，默认二者都有
        sourceType: ['camera', 'album'], //从相册选择、摄像头
        success: function(res) {
          console.log(JSON.stringify(res.tempFilePaths, res.tempFiles[0]));
          that.sctp(res.tempFilePaths, res.tempFiles[0]);
        },
      });
    },

    sctp(a, b) {
      console.log(a);
      var als = '';
      var tpbt = b.name;
      if (tpbt == undefined || tpbt == 'undefined') {
        tpbt = b.path;
      }
      var pos = tpbt.lastIndexOf('.');
      var suffix = tpbt.substring(pos);
      function random_string(len) {
        len = len || 32;
        var chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678';
        var maxPos = chars.length;
        var pwd = '';
        for (var i = 0; i < len; i++) {
          pwd += chars.charAt(Math.floor(Math.random() * maxPos));
        }
        return pwd;
      }
      var g_object_name = random_string(10) + suffix;

      // 获取信息
      request({
        url: '/biz/oss/policy',
        method: 'GET',

        success: res => {
          if (res.data.success == true) {
            als = res.data.data;
            request({
              filePath: a[0],
              oss: true,
              formData: {
                name: tpbt,
                key: als.dir + g_object_name,
                policy: als.policy,
                OSSAccessKeyId: als.accessid,
                signature: als.signature,
                callback: als.callback,
                success_action_status: '200',
              },

              success: res => {
                var cc = JSON.parse(res.data);
                console.log('上传图片', cc);
                if (cc.code == '00000') {
                  var dd = this.jimg;
                  dd.push(cc.data.url + '/' + als.dir + g_object_name);
                  this.jimg = dd;
                } else {
                  this.repeat_click = true;
                  uni.showToast({
                    title: cc.message,
                    icon: 'none',
                  });
                }
              },
            });
          }
        },
      });
    },
    //--图片上传

    // 跳转
    jshow_pop() {
      this.ashowpop = !this.ashowpop;
    },
    btTC2() {
      uni.navigateTo({
        url: '../main/work_add',
      });
    },

    navigateBack() {
      uni.navigateBack();
    },
  },
  computed: mapState(['forcedLogin', 'hasLogin', 'userName']),
};
</script>

<style>
.tophr {
  width: 100%;
  height: 88rpx;
}
.uni-searchbar {
  box-shadow: none;
}

.at {
  width: 160rpx;
  height: 160rpx;
  display: block;
  float: left;
  margin: 0rpx 0 0 0;
}
.att {
  width: 720rpx;
  margin: 0 0 30rpx 30rpx;
  height: auto;
  display: block;
  float: left;
  background: #ffffff;
}

.addb_1 {
  width: 720rpx;
  margin: 20rpx 30rpx 20rpx 30rpx;
  font-size: 32rpx;
  line-height: 4r0px;
  color: #000000;
  height: auto;
  display: block;
  float: left;
}
.addb_2 {
  width: 720rpx;
  margin: 0rpx 30rpx 20rpx 30rpx;
  font-size: 32rpx;
  line-height: 4r0px;
  color: #666666;
  height: auto;
  display: block;
  float: left;
}

.ptt {
  width: 100%;
  height: auto;
  display: block;
  float: left;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-left: 0;
  border-right: 0;
  margin: 20rpx 0 0;
}
.pttl {
  width: 84rpx;
  height: 84rpx;
  display: block;
  float: left;
  margin: 18rpx 20rpx 18rpx 30rpx;
}
.pttr {
  width: 400rpx;
  height: 84rpx;
  display: block;
  float: left;
  margin: 18rpx 0rpx 0rpx 0rpx;
}
.pttrt {
  width: 100%;
  height: 42rpx;
  line-height: 42rpx;
  display: block;
  float: left;
  font-size: 34rpx;
  color: #000000;
}
.pttrf {
  width: 100%;
  height: 42rpx;
  line-height: 42rpx;
  display: block;
  float: left;
  font-size: 24rpx;
  color: #999999;
}
.pttjt {
  width: 16rpx;
  height: 25rpx;
  display: block;
  float: right;
  margin: 48rpx 30rpx 0 30rpx;
}
.ptf {
  width: 100%;
  height: auto;
  display: block;
  float: left;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-left: 0;
  border-right: 0;
  margin: 20rpx 0 0;
}
.ptft {
  width: 720rpx;
  margin: 0 0 0 30rpx;
  height: 90rpx;
  display: block;
  float: left;
  background: #ffffff;
}
.ptft image {
  width: 48rpx;
  height: 48rpx;
  display: block;
  float: left;
  margin: 21rpx 20rpx 0 0rpx;
}
.ptft text {
  width: auto;
  height: 48rpx;
  display: block;
  float: left;
  margin: 21rpx 20rpx 0 0rpx;
  font-size: 34rpx;
  line-height: 48rpx;
  color: #000000;
}

.addi2_r {
  width: auto;
  height: 48rpx;
  display: block;
  float: right;
  margin: 21rpx 20rpx 0 0rpx;
  font-size: 34rpx;
  line-height: 48rpx;
  color: #999999;
}
.addi2_r image {
  width: 16rpx;
  height: 25rpx;
  display: block;
  float: right;
  margin: 15rpx 10rpx 0 30rpx;
}

.addi2 {
  width: 720rpx;
  margin: 0 0 0 30rpx;
  height: 90rpx;
  display: block;
  float: left;
  background: #ffffff;
  border-bottom: 1px solid #dddddd;
}
.addi {
  width: 100%;
  height: auto;
  display: block;
  float: left;
  background: #ffffff;
  box-shadow: inset 0px 1px 0px #dddddd, inset 0px -1px 0px #dddddd;
  margin: 20rpx 0 0;
}
.addi2 text {
  width: 200rpx;
  height: 90rpx;
  display: block;
  float: left;
  line-height: 90rpx;
  font-size: 34rpx;
  color: #000000;
  margin: 0 0 0 0rpx;
}
.addi text {
  width: 200rpx;
  height: 90rpx;
  display: block;
  float: left;
  line-height: 90rpx;
  font-size: 34rpx;
  color: #000000;
  margin: 0 0 0 30rpx;
}
.addi input,
.addi2 input {
  width: 480rpx;
  height: 50rpx;
  display: block;
  float: left;
  margin: 20rpx 30rpx 0 0;
  text-align: right;
  line-height: 50rpx;
  font-size: 34rpx;
  color: #000000;
}
.addb {
  width: 100%;
  height: auto;
  display: block;
  float: left;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-left: 0;
  border-right: 0;
  margin: 20rpx 0 0;
}
.addbi {
  width: 720rpx;
  margin: 0 0 0 30rpx;
  height: 90rpx;
  display: block;
  float: left;
  background: #ffffff;
  border-bottom: 1px solid #dddddd;
}
.addb .addbi:last-child {
  border: none;
}
.addbi .addbil {
  width: 200rpx;
  height: 90rpx;
  display: block;
  float: left;
  line-height: 90rpx;
  font-size: 34rpx;
  color: #000000;
}
.addbi .addbir {
  width: auto;
  height: 90rpx;
  display: block;
  float: left;
  line-height: 90rpx;
  font-size: 32rpx;
  color: #000000;
}
.addbi image {
  width: 16rpx;
  height: 25rpx;
  display: block;
  float: right;
  margin: 33rpx 30rpx 0 30rpx;
}
.addi textarea {
  width: 690rpx;
  height: 150rpx;
  display: block;
  float: left;
  margin: 0rpx 30rpx 20rpx;
  text-align: left;
  line-height: 40rpx;
  font-size: 34rpx;
  color: #000000;
}

.index {
  background: rgb(242, 242, 242);
  width: 100%;
  height: auto;
}
.jtop {
  width: 100%;
  height: 88rpx;
  background: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: inset 0px -1px 0px #dddddd;
}
.jtop_l {
  width: auto;
  height: 88rpx;
  display: block;
  float: left;
  font-size: 32rpx;
  color: #000000;
  line-height: 88rpx;
  margin: 0 0 0 30rpx;
}
.jtop_l image {
  width: 48rpx;
  height: 48rpx;
  display: block;
  float: left;
  margin: 20rpx 0 20rpx 0;
}
.jtop_lt {
  margin: 0 0 0 10rpx;
}
.jtop_r {
  width: 48rpx;
  height: 48rpx;
  display: block;
  float: right;
  margin: 20rpx 20rpx 0 0;
}
.jtop_rl {
  margin: 20rpx 30rpx 0 0;
}
.jtop_r image {
  width: 48rpx;
  height: 48rpx;
  display: block;
  float: left;
}
.jtop_c {
  width: 70%;
  height: 48rpx;
  line-height: 48rpx;
  display: block;
  float: left;
  position: fixed;
  top: 20rpx;
  left: 15%;
  text-align: center;
  font-size: 36rpx;
  color: #000000;
}
.jtop_c image {
  width: 36rpx;
  height: 36rpx;
  display: inline-block;
  float: none;
  margin-bottom: -5rpx;
  margin-left: 5rpx;
}
.jtop_b {
  width: 100%;
  height: auto;
  background: #ffffff;
  position: fixed;
  top: 88rpx;
  left: 0;
  z-index: 1001;
}
.jtop_r {
  width: auto;
  height: 88rpx;
  display: block;
  float: right;
  margin: 0rpx 20rpx 0 0;
  line-height: 88rpx;
  font-size: 32rpx;
  color: #000000;
  color: #256aff;
}
.doc_b22 {
  opacity: 0.5;
}

.nd {
  width: 735rpx;
  height: auto;
  display: block;
  float: left;
  margin: 0 0 0 0rpx;
}
.nd_bt {
  width: auto;
  height: 48rpx;
  display: block;
  float: right;
  border: 1px solid #dddddd;
  border-radius: 24rpx;
  margin: 40rpx 0 40rpx 30rpx;
}
.nd_bt text {
  width: auto;
  height: 48rpx;
  display: block;
  float: left;
  margin: 0 7rpx 0 18rpx;
  line-height: 48rpx;
  color: #666666;
  font-size: 24rpx;
}
.nd_bt image {
  width: 13rpx;
  height: 8rpx;
  display: block;
  float: left;
  margin: 21rpx 14rpx 0 0;
}

.tc {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  display: block;
}
.jtop_bj {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
}
.tc_fbox_bt {
  width: 100%;
  height: 90rpx;
  line-height: 90rpx;
  display: block;
  float: left;
  text-align: center;
  font-size: 36rpx;
  color: #000000;
  border-top: 20rpx solid #f2f2f2;
  background: #ffffff;
}
.tc_fbox {
  width: 100%;
  height: auto;
  display: block;
  float: left;
  background: #f2f2f2;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 10001;
}
.tc_fbox_bt2 {
  width: 100%;
  height: 90rpx;
  line-height: 90rpx;
  display: block;
  float: left;
  text-align: center;
  font-size: 36rpx;
  color: #000000;
  border-top: 0rpx solid #f2f2f2;
  background: #ffffff;
}
.tc_fbox_bt3 {
  width: 100%;
  height: 90rpx;
  line-height: 90rpx;
  display: block;
  float: left;
  text-align: center;
  font-size: 36rpx;
  color: #000000;
  border-bottom: 1px solid #dddddd;
  background: #ffffff;
}
</style>
